j = 1
while j < 10:
    i = 1
    while i <= j:
        print(f'{j}*{i}={i*j}', end='\t')
        i += 1
    print()
    j += 1
